package com.zhouyu.service;

import org.springframework.beans.factory.FactoryBean;
import org.springframework.context.annotation.Bean;
import org.springframework.stereotype.Component;

/**
 * @author 周瑜
 */
@Component
public class OrderService implements FactoryBean {


	@Override
	public Object getObject() throws Exception {
		return "xxx";
	}

	@Override
	public Class<?> getObjectType() {
		return String.class;
	}

	@Override
	public boolean isSingleton() {
		return FactoryBean.super.isSingleton();
	}
}
